package com.springboot.domain;

import lombok.Data;

import javax.persistence.*;

@Data
@Entity
@Table(name = "bt_demand_authority")
public class BtDemandAuthority {
    @Id
    private String id;

    private String userId;

    @ManyToOne(fetch=FetchType.LAZY)
    @JoinColumn(name = "demand_id")
    private BtDemand demand;
}
